export default {
  common: {
    unknown: "未知",
    loading: "加载中...",
    confirm: "确认",
    cancel: "取消",
    enabled: "启用",
    disabled: "禁用",
    back: "返回",
    backToTop: "返回顶部",
    close: "关闭",
    required: "请填写必填项",
    noPermission: "无此功能权限，请联系管理员",
    contactAdmin: "联系管理员",
    permissionDenied: "权限不足",
    actions: "操作",
    reset: "重置",
    selectOption: "请选择",
    pleaseSelect: "请选择",
    pagination: {
      previousPage: "上一页",
      nextPage: "下一页",
      pageInfo: "{current}/{total}",
      showingRange: "显示第 {start} 至 {end} 条，共 {total} 条",
      searchResults: '搜索 "{term}"：第 {start} 至 {end} 条，共 {total} 条',
      pageSize: "每页显示",
      firstPage: "第一页",
      lastPage: "最后一页",
      ariaLabel: "分页导航",
      srFirstPage: "第一页",
      srPreviousPage: "上一页",
      srNextPage: "下一页",
      srLastPage: "最后一页",
    },
    errorToast: {
      defaultTitle: "操作失败",
      close: "关闭",
      srClose: "关闭",
    },
    dialogs: {
      confirm: "确认",
      cancel: "取消",
      processing: "处理中...",
      requiredField: "此字段为必填项",
      invalidInput: "输入值无效",
      // 通用删除确认对话框
      deleteTitle: "确认删除",
      deleteItem: "确定要删除{name}吗？此操作不可恢复。",
      deleteMultiple: "确定要删除选中的 {count} 项吗？此操作不可恢复。",
      deleteButton: "删除",
      // 通用警告对话框
      warningTitle: "警告",
      // 通用清理对话框
      cleanupTitle: "确认清理",
      cleanupExpired: "确定要清理所有已过期的项目吗？此操作不可恢复。",
      cleanupButton: "清理",
      // 通用重置对话框
      resetTitle: "确认重置",
      resetConfirm: "确定要重置为默认设置吗？当前设置将会丢失。",
      resetButton: "重置",
      selectUpload: {
        title: "选择要恢复的上传",
        description: "发现 {count} 个可恢复的上传，请选择一个继续：",
        recommended: "推荐",
        matchScore: "匹配度 {score}%",
        partsInfo: "{count}/{total} 分片",
        partialComplete: "部分完成",
        atLeastParts: "至少 {count} 分片",
        progressInfo: "{percentage}% ({uploaded}/{total}MB)",
        copyIdTooltip: "点击复制完整ID: {id}",
        uploadIdCopied: "上传ID已复制到剪贴板",
        copyFailed: "复制失败",
        reupload: "重新上传",
        resumeSelected: "恢复选中的上传",
      },
    },
  },
  app: {
    title: "CloudPaste",
  },
  pageTitle: {
    // 主页面子标题（用于动态组合）
    homeSubtitle: "在线剪贴板",
    uploadSubtitle: "文件上传",
    pasteViewSubtitle: "查看分享",
    fileViewSubtitle: "文件预览",
    mountExplorerSubtitle: "挂载浏览",
    notFoundSubtitle: "页面未找到",
    // 管理模块标题
    adminModules: {
      dashboard: "仪表板",
      textManagement: "文本管理",
      fileManagement: "文件管理",
      storageConfig: "存储管理",
      mountManagement: "挂载管理",
      fsMetaManagement: "元信息管理",
      keyManagement: "密钥管理",
      settings: "系统设置",
      globalSettings: "全局设置",
      previewSettings: "预览设置",
      accountSettings: "账号管理",
      webdavSettings: "WebDAV设置",
      siteSettings: "站点设置",
      backup: "数据备份",
      tasks: "任务管理",
    },
  },
  nav: {
    home: "首页",
    upload: "文件上传",
    mountExplorer: "挂载浏览",
    admin: "管理面板",
    menu: "主菜单",
  },
  theme: {
    toggle: "切换主题",
    light: "浅色模式",
    dark: "深色模式",
    auto: "自动模式",
  },
  textPreview: {
    loadingHighlight: "正在加载代码高亮...",
    loadingEditor: "正在加载编辑器...",
    loadingMarkdown: "正在渲染Markdown...",
    fallbackEditor: "编辑器加载失败，使用简单文本编辑器...",
    markdownRenderFailed: "Markdown渲染失败",
    editorInitFailed: "编辑器初始化失败",
  },
  language: {
    toggle: "切换语言",
    zh: "中文",
    en: "English",
  },
};
